package edu.ncsu.monopoly;

public class GoToJailCell extends Cell {
        
        public GoToJailCell() {
                setName("Go to Jail");
        }

        public Boolean playAction(String msg) {
                Player currentPlayer = GameMaster.instance().getCurrentPlayer();
                JailCell jail = (JailCell)(GameMaster.instance().getGameBoard().queryCell("Jail"));
                GameMaster.instance().sendToJail(currentPlayer);
                return null;
        }
}
